
resetRem()
window.addEventListener('resize', resetRem)
function resetRem() {
  var width = window.innerWidth > 750 ? 750 : window.innerWidth < 250 ? 250 : window.innerWidth
  document.documentElement.style.fontSize = width/750*100 + 'px'
}
